<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
$this->load->helper('url');
?>
<link rel="stylesheet" href="/static/css/article.css?<?php echo $t;?>" id="css_article">
<script type="text/javascript">
$(function(){
	var _w = $(window).width();
	if(_w < 600) {
		$('#css_article').attr('href','/static/css/m_article.css');
	}
});
</script>

<div class="user-main container">
  <div class="user-menu">
  	  <div class="user-menu-item">
	  	  <p><i class="fa fa-circle-o"></i>新闻公告</p>
	      <ul>
	      	
<?php
foreach ($class_list as $v) {
?>	        <li 
<?php
	if ($class['id'] == $v['id']) {
?>class="on"<?php
	}

?>><a href="<?php echo site_url('article/index/' . $v['id']);?>"><?php echo $v['name'];?></a></li>
	        <?php
}

?>	      </ul>
      </div>
      <div class="user-menu-item">
	  	  <p><i class="fa fa-circle-o"></i>关于我们</p>
	      <ul>
	      	
<?php
foreach ($class_page as $v) {
?>	        <li 
<?php
	if ($class['id'] == $v['id']) {
?>class="on"<?php
	}

?>><a href="<?php echo site_url('article/index/' . $v['id']);?>"><?php echo $v['name'];?></a></li>
	        <?php
}

?>	      </ul>
      </div>
  </div>